@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,100..700;1,100..700&family=Noto+Sans+JP:wght@100..900&family=Zen+Maru+Gothic:wght@400;500;700&display=swap');


/*全体の設定*/
*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    color: #1d313b
}
p{
  line-height: 1.8;
}
body{
  font-family: 
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    "Noto Sans JP",
    "Yu Gothic",
    Meiryo,
    sans-serif;
}
/*
h1 {
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 700;
  font-style: normal;
}*/



/*ナビゲーション（ハンバーガーメニュー）*/
.c-header {
    align-items: center;
    background-color: white; /* カスタマイズしてください */
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    padding: 1rem 2rem; /* カスタマイズしてください */
    width: 100%;
  }
  
  .c-header__logo {
    color: #000; /* カスタマイズしてください */
    min-width: 80px; /* カスタマイズしてください */
    text-decoration: none;
  }
  
  .c-header__list {
    box-sizing: border-box;
    display: flex;
    margin: 0;
    padding: 0;
  }
  
  .c-header__list-item {
    list-style: none;
    text-decoration: none;
  }
  
  .c-header__list-link {
    color: #000; /* カスタマイズしてください */
    display: block;
    margin-right: 20px; /* カスタマイズしてください */
    text-decoration: none;
    padding: 10px 0px; /* カスタマイズしてください */
  }
  
  .c-header__list-link:hover {
    filter: opacity(0.6); /* カスタマイズしてください */
  }
  
  .c-hamburger-menu {
    position: relative;
  }
  
  @media screen and (max-width: 750px) {
    .c-hamburger-menu__list {
      background-color: white; /* カスタマイズしてください */
      align-items: flex-start;
      display: flex;
      flex-direction: column;
      left: 0;
      padding: 2rem; /* カスタマイズしてください */
      position: absolute;
      transform: translateX(-100%);
      transition: 0.3s; /* カスタマイズしてください */
      top: 100%;
      width: 100%;
    }
  
    #hamburger:checked ~ .c-hamburger-menu__list {
      transform: translateX(0%);
      transition: 0.3s;
    }
  }
  
  .c-hamburger-menu__input {
    display: none;
  }
  
  .c-hamburger-menu__bg {
    background-color: #000; /* カスタマイズしてください */
    cursor: pointer;
    display: none;
    height: 100vh;
    left: 0;
    opacity: 0.4; /* カスタマイズしてください */
    position: absolute;
    top: 0;
    width: 100%;
    z-index: -1;
  }
  
  #hamburger:checked ~ .c-hamburger-menu__bg {
    display: block;
  }
  
  .c-hamburger-menu__button {
    display: none;
  }
  
  @media screen and (max-width: 750px) {
    .c-hamburger-menu__button {
      align-items: center;
      appearance: none;
      background-color: transparent;
      border: none;
      cursor: pointer;
      display: flex;
      flex-direction: column;
      gap: 5px; /* カスタマイズしてください */
      height: 32px; /* カスタマイズしてください */
      justify-content: center;
      width: 32px; /* カスタマイズしてください */
    }
  }
  
  .c-hamburger-menu__button-mark {
    background-color: #000; /* カスタマイズしてください */
    display: block;
    height: 1px; /* カスタマイズしてください */
    transition: 0.3s; /* カスタマイズしてください */
    width: 20px; /* カスタマイズしてください */
  }
  
  @media screen and (max-width: 750px) {
    #hamburger:checked
      ~ .c-hamburger-menu__button
      .c-hamburger-menu__button-mark:nth-of-type(1) {
      transform: translate(2px, 1px) rotate(45deg); /* カスタマイズしてください */
      transform-origin: 0%; /* カスタマイズしてください */
    }
    #hamburger:checked
      ~ .c-hamburger-menu__button
      .c-hamburger-menu__button-mark:nth-of-type(2) {
      opacity: 0;
    }
    #hamburger:checked
      ~ .c-hamburger-menu__button
      .c-hamburger-menu__button-mark:nth-of-type(3) {
      transform: translate(2px, 3px) rotate(-45deg); /* カスタマイズしてください */
      transform-origin: 0%; /* カスタマイズしてください */
    }
  }



/*ファーストビュー*/
#hero img{
    /*background-color: blue;
    background: url(./img/mainphoto.jpg); /*文字の後ろに画像が載せれる*//*背景画像の中心が要素の中心に配置される
    background-size: cover;
    background-position: center; */
    width: 100%;

}



/*教室の説明*/
#message{
  padding: 20px;
  margin: 20px;
}
#message h1{
  text-align: center;
}
.under{
  font-size: 30px;
  text-align: center;
  padding: 1rem 0rem;
  margin-bottom: 0.2rem;
  border-bottom: 4px dashed #EA6DA4;
}
.message_container{
  width: 100%;
  margin: 0 auto;
  /*padding: 20px;
  margin: 40px;*/
  display: block;
  align-items: center;
  justify-content: center;
  text-align: left;
}
.text_area{
  text-align: center;
}
.text_area p{
  font-size: clamp(14px,5vw,18px);
}
.message_container p{
  line-height: 1.8;
}


/*イメージ画像*/
#imggroup{
  background-color: white;
  padding: 20px;
  margin: 20px;

  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3カラム */
  max-width: 1000px; /* ←中央寄せのため */
  margin: 0 auto;    /* ←中央寄せ */
}
#imggroup img {
  width: 100%;
  height: auto;
  display: block;
}

/*学びの説明*/
#manabi{
  background-color: white;
  padding: 20px;
  margin: 20px;
}
.manabi_container{
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2カラム */
  max-width: 1000px; /* ←中央寄せのため */
  margin: 0 auto;    /* ←中央寄せ */
}
.manabi_textbox{
  padding: 20px;
}
@media (max-width: 768px) {
  .manabi_container {
    grid-template-columns: 1fr;
  }
}




/*コース説明*/
#course{
  background-color: #FFFAE3;
  padding: 60px 20px; /* ←上下広げると余白きれい */
}
.course_container{
  background: white;
  max-width: 900px; /* ←制限 */
  margin: 40px auto; /* ←中央＆上下余白 */
  padding: 20px;
  border-radius: 30px;
}
h2{
  text-align: center;
  padding-top: 20px;
  padding-bottom: 10px;
  font-size: 25px;
}
.text{
  text-align: center;
}
.course_wrap{
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 50px;
  flex-wrap: wrap;
  align-items: start;
  max-width: 800px;  /* ←これ追加おすすめ */
  margin: 0 auto;
}
@media (max-width: 768px){
  .course_wrap{
    flex-direction: column;   /* ←縦並び */
    align-items: center;      /* ←中央寄せ */
    padding: 20px;            /* ←余白も少し調整 */
  }

  .img{
    flex: none;               /* ←固定解除 */
    width: 100%;              /* ←横いっぱい */
    max-width: 400px;         /* ←広がりすぎ防止 */
  }

  .text_container{
    width: 100%;
    max-width: 400px;
  }
}

.textcorner_area{
  width: 100%;
}
.course_btn{
  background-color: #E08190;
  padding: 10px 30px;
  text-decoration: none;
  font-size: 1.5em;
  font-weight: bold;
  border-radius: 20px;
  text-align: center;
  width: 200px;
  margin: 0 auto;
}
.course_btn a{
  text-decoration: none;
  color: white;
}
.course_btn:hover {
  transform: translateY(-8px);      /* ←少し上に浮く */
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
  color: #2f4f4f;
  background-color: #b0e0e6;
}
img{
  width: 100%;
  height: auto;
}


/*キャンペーン*/
#campaign{
  background-color: white;
  padding: 20px;
  margin: 20px;
}
#campaign h2{
  text-align: center;
  margin: 20px;
}
.text_campaign_area{
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
  text-align: left;
  line-height: 1.8;   /* ←読みやすさUP */
  padding: 0 10px;    /* ←スマホで端くっつくの防ぐ */
}
.campaign_img{
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px; /* ←これ追加 */
  justify-content: center; /* ←中央寄せもついでに */
  margin: 40px 0; /* ←上下余白で目立たせる */
}
.campaign_img img{
  width: 330px;
  max-width: 550px;
  height: auto;
  border-radius: 50px;              /* ←角丸 */
  box-shadow: 0 10px 25px rgba(0,0,0,0.15); /* ←影 */
  max-width: 1000px;
}

@media (max-width: 768px) {
  .campaign_img img{
    width: 80%;
    max-width: none;
  }
}
.campaign_form{
  background-color: #E08190;
  padding: 10px 30px;
  text-decoration: none;
  font-size: 1.3em;
  font-weight: bold;
  border-radius: 20px;
  text-align: center;
  width: 260px;
  margin: 0 auto;
  padding: 20px 0;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15); /* ←影 */
  transition: all 0.3s ease;        /* ←アニメーション */
}
.campaign_form a{
  text-decoration: none;
  color: white;
}
/* ホバーで浮く */
.campaign_form:hover{
  transform: translateY(-8px);      /* ←少し上に浮く */
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
  color: #2f4f4f;
  background-color: #b0e0e6;
}

.message{
  background-color: #4F92C6;
  padding: 10px 30px;
  text-decoration: none;
  font-size: 1.3em;
  font-weight: bold;
  border-radius: 20px;
  text-align: center;
  width: 260px;
  margin: 0 auto;
}
.message p{
  color: white;
}







/*問い合わせ*/
#contact{
  background: #7DCE9F;
  width: 100%;
  height: 80%;
  text-align: center;
  padding: 30px;
}

.contact_box h2{
  color: white;
  font-size: 30px;
  padding: 20px;
}
.box{
  display: flex;
  align-items: center;
  margin: 0 auto;
  text-align: center;
  gap: 50px;
  background: white;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  padding: 30px;
  flex-wrap: wrap;
}
.mail{
  margin: 0 auto;
}

.mail p{
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #7DCE9F;
}
.contact_btn{
  background-color: #fff;
  border: solid 2px #7DCE9F;
  color: #7DCE9F;
  padding: 10px 30px;
  text-decoration: none;
  font-size: 2em;
  font-weight: bold;
  border-radius: 20px;
  display: inline-block; /* ←これ追加が超重要 */
  box-shadow: 0 10px 25px rgba(0,0,0,0.15); /* ←影 */
  transition: all 0.5s ease;        /* ←アニメーション */
}
.contact_btn:hover {
  color: #2f4f4f;
  background-color: #b0e0e6;
  transform: translateY(-8px);      /* ←少し上に浮く */
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

/*問い合わせのフォントサイズメディアクエリ*/
@media screen and (max-width: 787px){
  .contact_btn{
      font-size: 1.5em;
  }   
}
@media screen and (max-width: 430px){
.contact_btn{
    font-size: 0.9em;
}   
}

.phone{
  margin: 0 auto;
}
.phone p{
  color: #7DCE9F;
  font-size: 18px;
  font-weight: bold;

}
.tell_namber{
  color: #7DCE9F;
  font-size: 40px;
  font-weight: bold;
  text-decoration: none;
}
.tel_text p{
  font-size: 12px;
}

/*電話番号のフォントサイズメディアクエリ*/
@media screen and (max-width: 787px){
  .tell_namber{
      font-size: 3em;
  }
}
@media screen and (max-width: 430px){
.tell_namber{
    font-size: 1.3em;
}
}




/*フッター*/
footer{
  background: white;
  text-align: center;
  padding: 20px;
  margin: 20 0px;
}
footer img{
width: 200px;
}
footer p{
font-size: 14px;
}
.link a{
 margin: 20px;
 text-decoration: none; 
 color: black;
 font-size: 14px;
}
.link a:hover{
filter: opacity(0.6); /* カスタマイズしてください */
}
